Re: xsl:choice
xsl:choice is not a xsl element, you probably mean xsl:choose RH At 02:38 PM 12/7/01 -0800, you wrote: Edward #1 You should be sending these questions to the XSL list #2 You need to use a dot at the front of your query so that the current context is set (.//eraname) Chuck Edward Dowgiallo wrote: I seem to be not getting the intended use of xsl:choice. The following stylesheet segment causes fop to terminate with the message: ...; Line 78 Column 25; [ERROR]: null History of the World 1st, a more verbose error message would be useful. 2nd, What I am trying to do is find out if the current element contains an element named "eraname", if it does I want to use the value of the element "eraname" If it doesn't I want to check if the current element contains a child element named "conflictname", if it does I want to use the value of the element "conflictname". If it doesn't I want to slap in some boiler plate text. The xml file being processed when this fails does contain the child element "eraname". I'd be more than happy to use a workaround here. Thank you, Ed Salience B.V. Ronald Heller Technisch Consultant Coltbaan 27b 3439 NG Nieuwegein Telefoon 030 60 56 675 Telefax 030 60 56 324 Website www.salience.nl [EMAIL PROTECTED] Mobiel 06 20 41 25 77 ICQ 135511393
Re: xsl:choice
Edward #1 You should be sending these questions to the XSL list #2 You need to use a dot at the front of your query so that the current context is set (.//eraname) Chuck Edward Dowgiallo wrote: I seem to be not getting the intended use of xsl:choice. The following stylesheet segment causes fop to terminate with the message: ...; Line 78 Column 25; [ERROR]: null History of the World 1st, a more verbose error message would be useful. 2nd, What I am trying to do is find out if the current element contains an element named "eraname", if it does I want to use the value of the element "eraname" If it doesn't I want to check if the current element contains a child element named "conflictname", if it does I want to use the value of the element "conflictname". If it doesn't I want to slap in some boiler plate text. The xml file being processed when this fails does contain the child element "eraname". I'd be more than happy to use a workaround here. Thank you, Ed
xsl:choice
I seem to be not getting the intended use of xsl:choice. The following stylesheet segment causes fop to terminate with the message: ...; Line 78 Column 25; [ERROR]: null History of the World 1st, a more verbose error message would be useful. 2nd, What I am trying to do is find out if the current element contains an element named "eraname", if it does I want to use the value of the element "eraname" If it doesn't I want to check if the current element contains a child element named "conflictname", if it does I want to use the value of the element "conflictname". If it doesn't I want to slap in some boiler plate text. The xml file being processed when this fails does contain the child element "eraname". I'd be more than happy to use a workaround here. Thank you, Ed