Search   Feed   Browse   Add
Feed items 1 - 10 of 19 for July 2008

Generic XML document into a SQL database - (Found July 8, 2008 )

This XSLT generates SQL queries that saves the given document into a database. Uses host-language calls to perform the query and to obtain generated IDs.
http://aspn.activestate.com/ASPN/Cookbook/XSLT/Recipe/551758

Extract text from XML document - (Found July 8, 2008 )

The null XSL stylesheet will output the text of a document, removing all of the tags.
http://aspn.activestate.com/ASPN/Cookbook/XSLT/Recipe/65424

Getting text children of an element - (Found July 8, 2008 )

There are a few ways to get the text from within an element.
http://aspn.activestate.com/ASPN/Cookbook/XSLT/Recipe/65425

Search and Replace - (Found July 8, 2008 )

XSLT has no first-class function to search-and-replace. Instead this recipe implements it as a template.
http://aspn.activestate.com/ASPN/Cookbook/XSLT/Recipe/65426

Internationalization using language files - (Found July 8, 2008 )

XSLT stylesheets often contain "boiler-plate text" like "Footnote", "Total" etc. This text is typically specific to a particular language. This recipe shows how to localize boilerplate text to a particular language.
http://aspn.activestate.com/ASPN/Cookbook/XSLT/Recipe/65427

Creating empty elements - (Found July 8, 2008 )

New XSLT users often have problems creating empty elements like <link>, <br>, <hr> and so forth in XSLT stylesheets. This recipe shows how.
http://aspn.activestate.com/ASPN/Cookbook/XSLT/Recipe/65423

Generating a newline - (Found July 8, 2008 )

Most newlines in XSLT are considered only for pretty-printing the input document. Unless they are adjacent to some other text, they will be just thrown away.
http://aspn.activestate.com/ASPN/Cookbook/XSLT/Recipe/66001

Restricting processing to consider only the first instance of an element - (Found July 8, 2008 )

Sometimes it is desirable to operate on an element type only once, even if it appears many times in the document, but still have the opertunity to collect information about every occurance.
http://aspn.activestate.com/ASPN/Cookbook/XSLT/Recipe/66461

Count previous nodes - (Found July 8, 2008 )

It is sometimes useful to count nodes that precede the current one. One way is to use the built-in xsl:count instruction but if you use the count() function (as opposed to instruction) with the preceding axis, you can easily use the result of the count in a larger expression.
http://aspn.activestate.com/ASPN/Cookbook/XSLT/Recipe/67108

search and replace - (Found July 8, 2008 )

there is no xpath-function like this: replace(needle, haystack). here's how i managed this functionality. this code will replace ".html" through ".php" in a path.
http://aspn.activestate.com/ASPN/Cookbook/XSLT/Recipe/67667
Available Archives
- July (19 items)
Sponsored Links
© 2008 FeedCapsule.com  |  Contact