[Home] [By Thread] [By Date] [Recent Entries]
Sorry for beeing not precise enough:
"
" replaces linefeed+carriage-returns "	" replaces tabulators "normalize-space" removes all unnecessary whitespaces This replacements do their job in another stylesheet. So it is more a problem of copying elements the right way than replacing chars. I know the copy-elements-stylesheet from the the xslt-cookbook but i don't know how to customize it for my needs (and i don't have the need to copy any attributs). I though the provided stylesheet would do the following: Select each
node (*), create element with same name (name={name()}) transform the
content, select next node ...
But the output looks like <tag1>content1</tag1>content1 ...So maybe the usage of * is wrong. So i tried node() instead but than i get an error for the usage of name() for the element name that says i'm generating in invalid qname. I guess i'm still mixed up with the xslt syntax. So any help is appreciated. Georg. 2006/7/7, Georg Hohmann <georg.hohmann@xxxxxxxxx>: Hello,
|

Cart



