Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. wow1977

    renaming attributes

    correct it is an identity transform.. well I have another question. do you know, how to find "dots"..like test.com and search for the dot and change everything after the dot to .fr :result test.fr thx
  2. wow1977

    renaming attributes

    i take everything back. It works fine million thx
  3. wow1977

    renaming attributes

    <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions"> <xsl:template match="/">...
  4. wow1977

    renaming attributes

    and the error message is : Stylesheet error: Unexpected value thx
  5. wow1977

    renaming attributes

    <xsl:template match="Element/text()"> <xsl:choose> <xsl:when test="normalize-space()='test.fr'"> <xsl:value-of select="'test.co.uk'" /> </xsl:when> <xsl:otherwise> <xsl:copy-of select="." /> </xsl:otherwise> </xsl:choose>...
  6. wow1977

    renaming attributes

    well, that solution doesn' work and once again, you are totally right, the title is wrong. thx
  7. wow1977

    renaming attributes

    uups sorry <rootElement> <Element id="some text" test="false">test.com</Element> <Element id="sometext" test="true">test.fr</Element> </rootElement> want to transform that: <rootElement> <Element id="some text" test="false">test.com</Element> <Element id="sometext"...
  8. wow1977

    renaming attributes

    ok..i agree, i just changed my xml: last try ;.) <rootElement> <Element> <Element id="some text" test="false">test.com</Element> <Element id="sometext" test="true">test.fr</Element> </rootElement> want to transform that: <rootElement> <Element> <Element id="some text"...
  9. wow1977

    renaming attributes

    sorry but I dont get u, this should highlight the troublem i have. I need to change the extension from .fr to co.uk.
  10. wow1977

    renaming attributes

    ok ur right! onece again: <rootElement> <Element> <Element1 one="id1" <some text> two="id2" <test.com> <Element1 three="id3" <some text> four="id4"> <test1.fr> <\Element> <\rootElement> and i need that: <rootElement> <Element> <Element1 one="id1" <some text> two="id2" <test.com> <Element1...
  11. wow1977

    renaming attributes

    sorry i dont want to rename attributes, its the value it has. <rootElement> <Element1 one="id1" two="id2"> test1.com/> <rootElement/> and i need that: <rootElement> <Element1 one="id1" two="id2"> test1.co.uk/> <rootElement/> many thx
  12. wow1977

    renaming attributes

    hello all I have a problem renaming attributes: simple example. <rootElement> <Element1 one="id1" two="id2"> test1.com/> <rootElement/> and i need that: <rootElement> <Element1 one="id1" two="id3"> test1.co.uk/> <rootElement/> is that possible. I appreciate any help.. greetings
  13. wow1977

    xsl transformation

    Hi there...sorry for not giving more informations, actually I haven´t a methóde to delte certain elements, I am only able to copy the whole document applying: <xsl:template match="RootElement"> <xsl:copy-of select="*"/> </xsl:template> , so far i dont know, how to copy-and-delete certain...
  14. wow1977

    xsl transformation

    Hello @ all well I am new to XML/XSLT and have problem with transforming an xml document. I need to delete the content of an element and to copy the rest of the file. For example: <Name> <Barbie> </Name> <Age> <21> </Age> <Location> <Japan> </Location> I need this result: <Name> <Barbie>...

Part and Inventory Search

Back
Top