Showing posts with label magazine. Show all posts
Showing posts with label magazine. Show all posts

Sunday, 26 June 2011

How To Write An Industry Report

how to write an industry report"how to write an industry report"

Something about Article Writing Freelance Industry

Freelancing is becoming a trend these days. People love to work from home. This is because people feel easy at home and spend their time according to what they want. They have no fix time frame and just having a deadline date to give report to.




People are working as freelancers in almost all types of fields. Article writing freelance industry grows much from past few years. As the trend of shifting businesses to the internet grows, companies need their websites to be made. But simple raw content is not the demand because almost each and every person now used the internet for searching and online shopping and there are thousands of your competitors globally in the internet that's why companies demand professional, attractive, informative, relevant and unique content. Hence the demand for article writers increases.




Freelance writers are available online at very low prices which increases the demand of freelance writers. Some take it as a part time job and some as a career. The rates of freelancers are variable from person to person and working mechanism. Freelance writing opportunities are very attractive. Attractiveness lies in terms of the flexibility of location, time and earnings. Opportunities in freelance writing industry grow rapidly because of the fast medium internet. Companies just take a look to your previous work and hire you. HomeJobStop is a good paying company offers you to work from home.




Freelance Article writers have to be updated with new trends, because market is a place that creates opportunities. Expert or the initializes looking for the part time jobs as freelance to earn money and gain more experience. Also it is good to have industry experience. Article writing freelance opportunities now a days are writing short articles about 500 words or sometime 250 words. Other work can be through personal networks where you have to build connections with magazine's editors. If your work is of standard and on time then companies will give you more work and you will earn more revenue.




Article writing freelance industry demands some nice ways to become a good freelance writer. These ways are as follows;





  • Register with some good freelance sites.

  • Carefully and tactfully fill ‘about yourself' field. Highlight the education, experience and your strengths.

  • Write articles on your interest zone topics.

  • Article should be informative and relevant. It should provide some quality content. Keep in consider the uniqueness because people love changes.

  • Write article on unexplored angels.

  • Write for passion not for part time.

  • Make your content keyword rich.


About the Author

Bela Jhonson is a great expert consultant of Home Based Jobs. HomeJobStop and Buy HomeJobStop is a best company offer home based jobs. Feel free to contact Bela Jhonson at bela.jhonson@gmail.com



Dan's 2-Minute Screenwriting School #1 - How Your Screenplay Should Look Industry Format Final Draft









how to write an industry report
how to write an industry report
how to write an industry report

Sunday, 6 March 2011

News Reporting And Writing

news reporting and writing"news reporting and writing"
Looking for a news item reporting some kind of research finding. I need to compare the original source..?

reported by the news and compare it to what was actually found in the research. Im not asking for an answer, just having some trouble find the study and the news article to write my paper on. Any links of the two would be GREATLY APPRECIATED. PS..TEN POINTS FOR ANYONE WHO CAN FIND THIS..IVE LOOKED EVERYWHERE!


I wish I could help, but you didn't say just what you were looking for. I expect you have tried yahoo and google... have you tried other search engines? I have a lot of success with dogpile.com. Otherwise, I'd be glad to help look around if you'd let me know the subject matter. I can be messaged.

I just realized you could be referring to any research/news comparison. I still do not know what type of subject to choose or what class you are taking, so I am just not sure how to help. I hope you are able to find what you need on dogpile.com.


Rutgers Reporter: News Reporting and Writing spring 2010









news reporting and writing
news reporting and writing
news reporting and writing

Thursday, 4 November 2010

Interview Report Writing

interview report writing"interview report writing"
Resource about writing a good report?

I am planning to write an information report about the bookstore in my school because we have to choose inside our department. We need to find a person in the bookstore to interview. What will be the best questions to ask them about? Also, if anyone has any ideas about report like what to write and what is easy way to improve and make the report more interesting.

Thank you, people! May you all have a nice weekend.


possible questions to ask:

1) Why do you think so many bookstores are closing?
2) What kind of marketing do you need to keep your business running?
3) What do you think are the advantages of being a small, independent bookseller?
4) How do you feel about electronic books as opposed to paper books?
5) In what ways do you feel the bookselling industry has improved, and in what ways do you feel it should have stayed as it was?
6) How do you get publishers to cooperate with you and give you special deals?
7) What is involved in buying and managing your inventory?
8) What kind of insurance does a bookstore need?
9) Do you think expensive books are worth their price, when they can be accessed for free from a public library?
10) When and where do you think people tend to read books -- at home, at work, on weekends, at night, etc.


Garth Youngberg Interview - What was the most important decision while writing the Organic Report?









interview report writing
interview report writing
interview report writing

Wednesday, 27 October 2010

Writing And Reporting The News

writing and reporting the news"writing and reporting the news"

Tips For Writing a Compelling Local News Story

Launching a hyperlocal news site is one thing - writing compelling content that keeps your readers coming back is quite another. This article will give you some tips for understanding how to put together a great news story that will keep your readers informed and eager to read more.



One way to do this is to write "upside down." Many journalists write their content in what is called an inverted pyramid. The most important, meatiest content goes at the top. The reason for this is that editors typically cut from the bottom if a story is too long. If this happens, then the most important stuff stays in the story. (This tradition was originally started back when editors physically cut the bottom of a type-written page, but the principle still applies).



The next tip may sound a bit obvious, but it is critically important: be accurate. Double and triple-check information to be sure it is accurate. If quoting someone makes sure the quotes are correct and attributed to the right individual. Fortunately with the large volume of information available on the web, fact-checking is much easier than it used to be. Be sure to get familiar with some of the main sources of information in your community and check those sites frequently.



Finally, the pet peeve of any news connoisseur is clichs. You've all heard them: "cut to the chase," "shoot from the hip," or "sink or swim." They are those common phrases that people use because they think they are clever, but in reality they are way overused in both speech and writing. The more original and thoughtful your content, the better chance you have of gaining a positive readership and reputation at your site. This is not an easy habit to break, but with enough practice and patience it will be well worth accomplishing.



Once your articles are written and posted, there is yet another step - self-promotion. There is so much noise on the web today that it can be difficult to get heard. The key is to use many of the social networking tools available to do some self-promotion. Send out links to your content via Facebook and Twitter, and interact with visitors on your site. Respond to comments and pose questions to your followers about what kinds of events they may want to see covered or ask if they have any tips to share. Most people enjoy being used as sources and sharing a bit of expertise about something they know quite a bit about.



Finally, write well. Hemmingway level prose isn't necessary, but touching up on some basic grammar rules would be advised. Know the difference between your and you're or there, their, and they're. Get a friend or colleague to review your writing to make sure it sounds good. Make liberal use of dictionary.com and other online tools to help you through the writing process.



And be sure to enjoy the process of crafting local news stories. You are undertaking a service to your community to bring it news that otherwise wouldn't be reported.


About the Author

Darla Blackmon writes about San Diego news for EverythingSanDiego.net, a community website that covers news, music, art and entertainment. Visit the site for information about San Diego events and attractions from a local perspective.



Sally Neiman Demo Reel









writing and reporting the news
writing and reporting the news
writing and reporting the news

Wednesday, 29 September 2010

News Writing And Reporting

news writing and reporting"news writing and reporting"
How do you make a news report? (for students)?

OK, I have a project due. And I'm doing group work. If anyone has read Tangerine by Edward Bloor, I got an assignment to write a news report about how Antoine Thomas confessed his in-eligibility to play football. I need to pretend I'm on the news.


When writing news it is important to get to
FIRST hook the reader with a catchy headline
SECOND answer all the 'w' questions: who what where and why
THIRD organize your story so that it can be trimmed at almost any paragraph point and spik to the conclusions summary without losing the reader... This is an important because it is often necessary when getting all the stories into a newspaper neatly, and has determined the usual presentation of news, and the style we are all used to hearing when the news is reported.

I found this good list of things to be sure of while you write news on a high school journalism workshop site:
http://www.highschooljournalism.org/Teachers/Lesson_Plans/Detail.cfm?lessonplanid=167

Writing criteria (rubric criteria or grade for each criteria):
Introduction presents the problem as well as providing a staff stance
The lead grabs the reader's attention
Evidence is provided to support the staff's stance
Direct quotes are used properly
Active verbs are used as well as tight, precise writing
Other viewpoints are presented in addition to the staff's viewpoint
A solution and/or solutions are provided when necessary
The conclusion recaps the staff's position and contains a call to action if appropriate
Tone is fair, balanced and mature
Preachiness is avoided
Information gathering
Relevance to audience
Basic grammar and spelling


Studio 21 News - Broadcast Lab March 2011









news writing and reporting
news writing and reporting
news writing and reporting

Friday, 3 September 2010

Uk Essays

uk essays"uk essays"
How do i reference of a foreign language website on a university(UK) essay?



Exactly the same way as a n English language one.


Order your Custom Essays from UKEssays.com









uk essays
uk essays
uk essays

Monday, 25 January 2010

Consumer Reports Resume Writing Services

consumer reports resume writing services"consumer reports resume writing services"

Illiteracy in America

In the past, I have assumed that illiteracy is reserved for the third world countries, the mentally disabled, or some destitute inner city families. Then, in my late thirties, I became a non-traditional college student and began to understand the magnitude of illiteracy in America. Peer editing is definitely a revelation. Fellow students have failed to write complete sentences, spell correctly, avoid improper language, and construct proper paragraphs. I am shocked.

When the papers are graded and returned, I actually question a professor concerning my unexpectedly high grade considering the mistakes I see after turning in my paper. Sadly, she suggests I remember the other papers I have peer edited. Then, I wonder how students have entered post-secondary education without the ability to utilize written communication properly.

Many Americans believe illiteracy is the total lack of ability to read or write. Therefore, the statistics cannot possibly be astounding. Nevertheless, I have come to a sadly different realization. Functional literacy is declining in the homes, schools, and in the workplace.

Sometimes affecting several generations, functional literacy is declining in the homes. Understandably, many illiterate Americans are immigrants learning a second language, the learning disabled, or the economically disadvantaged: 33% of all welfare recipients are not considered to be functionally literate. 84% of unemployed fathers and 82% of all unemployed mothers lack a high school diploma.(The Economics of Literacy).

Regardless of the reason, functional illiteracy can be a dangerous problem in the home. Parents may not be able to read prescription bottles to administer the proper amount of medication, or have the ability to write a check to pay the bills. Forget writing letters to communicate with others outside the local area, signing school forms, contracts for services, or complying with the customer service representative who wants it in writing

Sadly, many people, illiterate or otherwise, fail to acknowledge or address the growing problem of functional illiteracy in American homes. Studies prove reading to a child ultimately improves his/her reading and writing abilities. Thus, the child of illiterate parents is more likely to have inadequate literacy skills.

Subsequent to functional illiteracy in the home, schools are also combating growing illiteracy among the student population. Remedial programs, even in post secondary education, are on the rise. Eighty percent of community college now has remedial programs in place to help new students prepare for college level classes. Although more students are non-traditional adult students simply needing a refresher course, many students are fresh from high school graduation.

Personally, I have tried to determine the true culprit of illiteracy within the educational system. I wonder if students are simply becoming more complacent. Also, I wonder if schools have become more complacent in reaching educational goals.

During my public school education, children failing to meet the minimum requirements for a given grade level are retained in the same grade for the following year. The ability to read and write is paramount. Teachers recognize the necessity of attaining the foundational skills of reading and writing. Students unable to properly convey ideas and understanding in writing are required to gain the needed skills before advancement.

Today, social promotion is common. Educators and parents seem more concerned with causing the student emotional trauma now, rather than considering the ultimate consequences as a functionally illiterate adult: Academic preparation to succeed in community colleges is also critical, but almost 50% of all first-time community college students are assessed as under prepared for the academic demands of college-level courses, the report says (Lewis).

Also, parents seemingly refuse to believe their son/daughter is neglecting his/her studies. Unfortunately, I feel the parents complaining the loudest usually fail to be active participants in the child's education by enforcing a good work ethic or recognizing a small learning problem before the problem becomes insurmountable. Instead, the teacher/school is held accountable. Deferring to parental demands, the unprepared student is promoted and eventually seems to fall the cracks in the educational system.

The real world of the workplace is suffering the consequences of graduating functionally illiterate students who have failed to acquire the basic reading and writing skills necessary to succeed professionally: Very few adults in the U.S. are truly illiterate. Rather, there are many adults, [46-51%], with low literacy skills lacking the foundation needed to find and keep decent jobs, support their children's education and participate actively in civic life (Facts on Literacy in America).

Statistics have shown that more than fifty percent of Americans cannot adequately read or write at the eighth grade level-the level previously determined necessary to meet the minimal requirements to succeed in the workplace. Many people need assistance to complete an application or draft an appropriate resume.

If fortunate enough to secure meaningful employment, many workers may be unable to successfully convey messages by sending a simple inner office memo, adequately completing a necessary report, or drafting necessary correspondence: A study done by the Northeast Midwest Institute and The Center for Regional Policy found that business losses attribute to basic skill deficiencies run into the hundreds of millions of dollars because of low productivity, errors and accidents (Wild).

Rather than dismissing the functionally illiterate employees, and to avoid costly mistakes, some corporations have established literacy programs to help employees increase reading and writing skills. Although admirable, companies subsequently suffer reduced productivity and face the costs associated with reeducating illiterate employees. Ultimately, all Americans must recognize the problem of illiteracy as consumer prices increase to offset the rising costs of education in the workplace.

In summary, functional illiteracy affects Americans lives domestically, in the classroom, and in employment opportunities. Because functionally illiterate parents are unable to encourage and help children learn to read and write, illiteracy often spans generations within the home. In addition, the educational system is confronting increasing illiteracy in the classroom. Succumbing to pressure by parents and the No Child Left Behind Act, schools are often graduating students without adequate reading and writing skills to succeed in post secondary education or secure decent employment. Subsequently, businesses are attempting to reeducate employees unprepared to fulfill the reading and writing requirements of the workplace.


About the Author

My aim, as a writer, is to provide articles, advertising, e-books, editing, etc., to help you communicate information to the public.

My aim, as a teacher, is to provide tutoring services to high school and college students struggling with the writing process.

http://www.writingwithpurpose.us



House Session 2011-05-11 (17:39:17-18:44:36)









consumer reports resume writing services
consumer reports resume writing services
consumer reports resume writing services

Tuesday, 19 January 2010

Industrial Visit Report Writing

industrial visit report writing"industrial visit report writing"
I want know how to write a report about one of our academic related industrial visit on a near-by factory?


I just want to know the Format of how to write the report on my industrial visit
please help me......


hello!!
the report first should consists of the industrial details u have visited ,,
the stream of industrial visit is that based on computers,electrical,mechanical industries etc
then what u learnt from the visit
how u enjoyed the visit
whom all u met there in the sense for example u spoke with HR,CEO u gained some knowledge etc


27012010069.mp4









industrial visit report writing
industrial visit report writing
industrial visit report writing

Tuesday, 22 September 2009

Writing And Reporting News

writing and reporting news"writing and reporting news"
What are the differences between news reported on TV and newspapers?

HOMEWORK HELP NEEDED!
Compare and contrast the news writing styles, extent of coverage of the news and importance given to the particular news stories, also giving examples from the new media, explaining how the news has been covered, pointing out the difference in style and listing your recommendations for improvement.

Thanks in advance!


"Print" news typically has more information in more detail while TV news has only a minute or two for each topic in a typical show. Also newspapers will do more follow up as a subject evolves over time, such as the court process while an alleged murderer is going through a trial, while TV news would focus more on the initial crime and then the final jury sentence without too much focus on the day-to-day process. Also newspapers tend to have strict rules for identifying subjects who provide quotes while TV reporters will just show someone talking and identify them only as a "neighbor" or "witness" or what have you. Overall, newspapers are a little more formal and use a standardized language called "AP Style" (Associated Press Style) while TV news reports are less formal. Newspapers will cover routine municipal matters like school board and alderman's meetings while TV news doesn't usually cover these meetings unless something unusual or controversial is taking place. Finally, TV has the ability to "break into your regularly scheduled programming" in the event of something like the 9-11 attacks while a newspaper reader would have to wait until the next morning's issue is published to read about the news.


Jim Lehrer on Covering the JFK Assassination









writing and reporting news
writing and reporting news
writing and reporting news

Tuesday, 8 September 2009

News Paper Report Writing

news paper report writing"news paper report writing"
What are some instances when bloggers have reported news before the mainstream media has?

I'm writing a paper on the evolution of elections in America. One of the things I am discussing is the impact that the growth of social media has had on election campaigns. What I really need are some examples of political news stories that were first uncovered and reported on by political bloggers, and then those stories became widely reported in the mainstream media. I am certain that this has occurred at least a few times, but beyond George Allen's "macaca" debacle in 2006, I can't remember any. Can anyone help me out here?


The latest "Bittergate" was told on the Huffington post by a blogger before it hit mainstream media.

Huffington is a fan of Obama so it slipped by before anyone realized what a bombshell it would be.


A School Newspaper Links Sioux Indian Teens to Their Community









news paper report writing
news paper report writing
news paper report writing

Thursday, 3 September 2009

How To Write An Informational Report

how to write an informational report"how to write an informational report"

How to Write A Small Report Using a Simple Outline Format

The elements of any small report or eBook are pretty simple and if you use a basic outline this will help you break down your project into smaller bite size projects. Just commit to completing one section at a time and set a goal to complete one or two sections a day and in about 5-7 days you will have completed your entire project depending on the amount of content you wish to include.



For this report let’s set a goal of about 15-20 pages this should give your reader plenty of good content and a great way for you to lead into a more in-depth product with a higher price tag in the future.



First of all let’s take a look at the basics of what your small report should include. And for this particular report let’s use the steps or tips model. Here’s the basic outline.



1. Title Page (1pg)



2. Disclaimer Page (1pg)



3. Introductory Pages (1-2pgs)



     a.) About You and Your Experience



     b.)Lead In



4. Steps or Tips 1-5 (10 pgs) that’s two pages minimum per step or tip



     1. Step 1



        a.) sub-point



        b.) sub-point



Repeat Throughout Steps 2-5



5. Conclusion (1-2pgs)



Title Page



Ok… this one is pretty self explanatory. On this page you are going to restate the tile and subtitle of your small report and where you would display your name as the author and any copyright information. Now this doesn’t have to be real fancy, but as you develop your own style you may want to use a particular graphic or background image. That is kind of like your signature or mark.  Again this doesn’t have to be anything real fancy. It could be as simple as some large text with a simple border and a different back ground color inside the outline.  Once you have developed your particular title page, you then can use it over and over again as a template for future reports.



Disclaimer Page/Legal Statement



Now… as sad as it may be, it seems like we live in a law suit happy world these days. And In my express opinion it would be in your own best interest to contact a legal professional that will guide you in the proper wording of your legal statement in order to protect yourself from any liability. This statement is usually only about one paragraph long.  



---Disclaimer--- I am not a legal professional nor am I giving any legal advice and highly recommend that you contact one in your local area concerning what your legal statement you should include in order to properly protect yourself from any legal recourse.



I think you get the idea…



On this page you may also want to include a short notice letting the reader know that they may freely distribute / give away your report to others or not. This all depends on what you plan to use your report for. Some reports you will use to generate traffic and some will be for sale.



Introductory Pages



Whoever your particular market may be… This would be a good place for you to let your readers know what is different about you and your approach to the subject you are writing about.  You then lead them into the steps your report includes.



On these pages you will want to write a brief introduction about yourself and your experience and a lead in as to what your small report will do for your readers.  What problem or problems will it solve?



For example: Let’s say your market is “Better Parenting” and you want to write a small report called “How to get Your Kids to do Their Chores in 5 Painless Easy Steps”



Your intro statement would say something like … My name is so and so… and I am the proud parent of 3 beautiful kids. Over the years I have found the rewards and consequence method to work the best for getting my lovely children to complete their chores in a timely and painless fashion. Here are the 5 easy steps I employ and that have worked like a charm for me.  Then you’ll want to make a built list of the 5 steps of implementing your particular system.



The Steps



Ok… Here is where you will obviously give your audience the steps to use to solve their problem. By the way, this is where you are going to spend most of your time writing, as it is the heart of your content. I recommend you break down each step as follows. First will be the main point of your step and 1-3 sub points.



 Let’s follow along the “Get Your Chores Done” idea



Example: Step1 ---Using A White Board---



This of course is your main point and where you explain how using a white board helps you organize your list of chores and where the kids can see the stars they receive for successfully completing each chore. 



Then your sub points would look something like this.



---Sub Point A--- How to set up Your White Board



---Sub Point B--- Where to Locate Your White Board



--Tip-- You may want to include some real life examples of how you and little Billy struggled at first, but how you and he eventually found success. This is a great way to make your report a little more personal.



As you are writing your outline you may find that you will come up with several ideas for future products and or items you could promote along with your small report. Like cute little chore charts with fuzzy little bunnies and sad little monkeys instead of stars and check marks. That’s why it’s good idea to keep some side notes for future reference.



Conclusion Page



This is where you’ll want to wrap the whole thing up and invite your readers to come and visit your website where you sell more parenting guides and products that relate to raising children or whatever your reports are about.


About the Author

More Free Information Click here for more free information, free reports, and reviews on How To Write A Small Report.



Write the wall (Berlin-Wall Graffiti) NEW!!









how to write an informational report
how to write an informational report
how to write an informational report

Sunday, 14 June 2009

Simple Report Writing Template

simple report writing template"simple report writing template"

Generating PDF reports using nfop

Written by:




Petro Vodopyan, Intern developer of Device Team,




Apriorit Inc.




Introduction




There are lots of articles, which describe how to convert XML documents to the documents of other types using the XSL Formatting Objects. Most of them describe how to obtain HTML from XML and only few tell about PDF documents.




Such articles usually demonstrate simple examples (how to build the table or perform the text output). But sometimes we need to create representative reports or documents. In this case, developers face nontrivial problems – for example creating the table of contents (using internal or external links), bookmark trees, picture galleries, etc.  This article will help you to examine main features of XSL schemes.




Brief survey of the topic




Generation of PDF documents is based on the Apache XML FOP technology that was initially written in Java language. But in our case, we use  nFOP – the C# wrapper that is based on the Visual J#. This wrapper makes it easier to write pure .NET reporting modules. The generation of PDF documents is very simple and can be described in the following way:







We have an XML document (created by some application or manually) and  XSLT scheme, with the help of which we obtain the XSL-FO document. The PDF file will be created on its basis. Then we compile the obtained XSL-FO document to PDF with the help of FOP.




С# example




The process of PDF document generation can be described using a small example. Supposing, there is a list of writers, who have their books and these books consist of articles, respectively:







This structure is represented by Author and Book classes.




public class Author { public List created; public string name; public int id; ... } public class Book { public int id; public Props bookProps; public List articles; ... }


C# language allows you to serialize any class to XML document. In this case, we can provide the following example:



//Serializing data FileStream fs = System.IO.File.Create("source.xml"); XmlSerializer s = new XmlSerializer(typeof(List)); List list = new List(); list.Add(writer); list.Add(writer1); s.Serialize(fs, list); fs.Close();

Then, according to the scheme described above, the process of XLS-FO document generation is performed:



//Generate FO file XslTransform xslt = new XslTransform(); //Loading XSL template xslt.Load("schema.xsl"); //Loading XSL template xslt.Transform("source.xml", "source.fo");

The last step is to call the methods of nfop, which compiles XLS-FO to PDF:



//Generate PDF file java.io.FileInputStream streamFO = null; java.io.FileOutputStream streamOut = null; try { streamFO = new java.io.FileInputStream("source.fo"); streamOut = new java.io.FileOutputStream(fileName + ".pdf"); InputSource src = new InputSource(streamFO); Driver driver = new Driver(src, streamOut); driver.setRenderer(Driver.RENDER_PDF); driver.run(); } catch(FOPException ex) { Console.WriteLine(ex.Message); throw; } catch (System.Exception ex) { Console.WriteLine(ex.Message); throw; } finally { if (streamOut != null) { streamOut.close(); } if (streamFO != null) { streamFO.close(); } }

It is important to include the following references to the solution being developed:





  • vjslib

  • nfop





vjslib.dll can be downloaded here.




nfop.dll can be downloaded here.




XSL Features




As it was mentioned above, the majority of articles about XSL-FO describe such common things as the output of the formatted text or the creation of tables. But often you need to add to the document:





  • Table of contents with internal references to articles (taking into account that we do not know the page numbers beforehand as the document is generated dynamically)

  • The bookmark tree (rather convenient tool for navigating in the document)

  • Footnotes with definite blocks of the text and, perhaps, references to external web pages

  • The picture gallery (it can be also dynamically saved by means of the C# language).






  1. The bookmark tree.

  2. Table of contents with internal references to chapters of the document.

  3. Page numbering.

  4. Static picture (can be the company logo).


Brief survey of main XSL operators and constructions




XSL language includes all main constructions:






  • if analog:



<!--Operations-->


  • switch analog:



<!--Operations--> <!--Operations-->


  • for analog (processes a number of XML nodes with the same level of nesting):



<!--Operations-->

You can access the definite node by index (if you know its number in the list beforehand):




Also you can use some variable as the index:



...

number($index) conversion returns the number, which was generated from the string stored in $index. If you do not use it, the $index variable will possess "1" as any  value as is considered to be of the string type by default.




If you use the position() operator it's better to check also the condition:



...

Here, position() is the number of the current node of the XML document (last() is the last in the list, respectively).




Usage of Cyrillic and East Asian fonts




There is often a problem of using specific languages in reports. By default, they are not included in the list of nfop fonts. To add new languages, you have to add a new font to the useconfig.xml file. The configuratiob file will look like the following:





Here, metrics-file is a path to the font metric, embed-file is a path to the font file.




In the example above, the standard arialuni.ttf font was added. It is a part of Windows OS (WINDOWSFontsARIALUNI.TTF) and is the most universal one. Fonts should be placed in the same folder as the configuration file.




Building the bookmarks tree




When building the bookmark tree (with references to the articles), you should specify an additional id field in the nodes. With its help, references will be organized in the XSLT scheme.




We can create the static class, which generates unique id for each object that we need to refer on later:



public static class IDGenerator { private static int id = 0; public static int Generate() { return id++; } }

Labels to refer on are placed when building the tables. We just add one more attribute to the current block, which will be used in references:




The process of building the tree is based on placing the blocks of such type:



<!--Name of bookmark-->

They can be placed as the nested ones and it will create the treelike structure.




Building the table of contents




The table of contents of the document is created in the similar way.  The same id field (as in the previous example) is used for references:



Chapter 1<!--Name of link-->

The line fills space between the text and page number by dots.




 




Page numbering




One more interesting moment is that we do not know exactly on which page the table will be located while building the PDF document. Here we can use an expression that will define the page number of the dynamically generated document automatically:




Logo insertion




XSL Templates allow you to create the static content in any page region that will be repeated on each page. For example, the following code inserts the logo to the lower right corner of the document:



<!-- logo in lower right part of report page-->

The building of the document frame can be organized in the similar way. You need to create four separate images for each border of the document (top, bottom, left and right), which can be then used as the background of the region  (region-after, region-before, region-end, region-start).




Hyperlink insertion




To insert external references, you can use the following construction:




Table rotation




There is often a problem of displaying the tables with numerous columns. Such tables cannot be placed within the page borders.




Name




Prop1




Prop2




Prop3







PropN




1




Some data




Some data




Some data







Some data




2




Some data




Some data




Some data







Some data




In this case, it is possible to perform table rotation, where a new table will correspond to each row:




Table 1 – first row




Name




1




Prop1




Some data




Prop2




Some data




Prop3




Some data










PropN




Some data




Table 2 – second row




Name




2




Prop1




Some data




Prop2




Some data




Prop3




Some data










PropN




Some data




Sometimes there is a nonstandard situation when it is necessary to process the data, which is stored in two related lists of nodes of the XML document. For example, you need to fill in the table where the first column Columns contains the name of the data, the second one - Rows - contains its values.



Name Phone Number Johny 555-55-55       Ann 333-60-00

To create the table from the given XML document, you can use the following pattern:




Gallery




The process of creating the picture gallery can be described in the following way:





  • The required pictures are saved to the temporary folder on the hard drive (programmatically).

  • The XML document is created. It contains the full paths and the description of the saved files (this data will be used later in the XSLT scheme).

  • The PDF document is generated. Pictures from the temporary folder are built in it.

  • The temporary folder with its contents is deleted.



Name Blue hills Path E:/pdf_root/Blue hills.jpg Size 28 521 bytes Type JPG File Created 12 may 2010, 15:01:36 ...

The pattern, which builds the gallery, is given below:



Gallery

As a result, we receive the following table:







Conclusion




In this article, we introduced a brief description of creating the PDF report using the existing data in the program. Also we gave a brief survey of main constructions and operators of the XSL language. There are a lot of simple but rather nonstandard situations when we need to transpose tables, move between levels in the XML document, and create picture galleries.




For additional information, see the following links:




http://www.renderx.com/tutorial.html
http://www.w3schools.com/xslfo/
http://www.ecrion.com/Support/PDF/XSL-FOTutorial.pdf




 




Download example source




I hope that this article will be useful while developing your applications.




About the Author

Apriorit Inc. is a provider of professional consulting and software development services.



MICROSOFT EXPRESSION STUDIO 4 ULTIMATE Download.mp4









simple report writing template
simple report writing template
simple report writing template