Hi,
I am working on converting one form of xml to other form using XSLT.
When tried to convert the below xml file using XSLT, "parser error: PCDATA invalid Char value 2" is displayed. Can any one help how to resolve this issue?
[Code]
<?xml version="1.0" encoding="UTF-8" ?>
<!-- RSS generated by JIRA 91 at Thu Oct 23 06:52:25 EDT 2008 -->
...
User Profile
Collapse
-
How to parse an xml with extended characters?
-
HI,
Thanks. Its working perfectly with document( ).
Below is my XSLT:
<xsl:styleshe et version="1.0" xmlns:xsl="http ://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" encoding="UTF-8" indent="yes"/>
<xsl:template match="/">
<bugzilla version="3.0.4" urlbase="http://172.16.6.51/proj11/"... -
Can the XSLT read from an external excel file or some other flat file?
Hi,
As part of transforming one form of xml to another form, i need to do the below mentioned transformation:
My Input XML:
<rss>
<channel>
<item>
<assignee username="srini vas.rachakonda" >Srinivas Rachakonda</assignee>
<reporter username="aaron .burgemeister"> Aaron Burgemeister</reporter>... -
How to format the output xml using XSLT?
Hi,
As part of transforming one form of XML to another XML using XSLT, i need to convert the text into Bold in the output xml file. I tried the following way but it did not work.
<fo:inline font-weight="bold">< xsl:text>Descri ption of the original bug in JIRA:</xsl:text></fo:inline>
Any suggestions would be appreciated
Thanks,
Saritha -
saritha2008 replied to How to repeat some set of steps using xslt, as we do using functions in C or C++?in XMLHi, Thanks for your reply. I tried passing a parameter to template and now iam able to repeat for each version.
Below is the xslt that worked fine:
<xsl:styleshe et version="1.0" xmlns:xsl="http ://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" encoding="UTF-8" indent="yes"/>
<xsl:template match="/">
<bugzilla...Leave a comment:
-
saritha2008 started a topic How to repeat some set of steps using xslt, as we do using functions in C or C++?in XMLHow to repeat some set of steps using xslt, as we do using functions in C or C++?
Hi,
As part of migrating bugs from JIRA to BugZilla, below is the requirement:
If there are multiple “version” tags in my input.xml file
For open bugs (Resolved,Reope ned,Inprogress, NeedInfo) > create multiple bugs, one for each “version". “Fix version” will be empty.
For closed bugs > create multiple bugs, one for each “Fixed in” version. Use earliest “version" for all bugs.... -
How to escape a single quote present in the xml file using xslt?
Hi,
I have to convert the following Input xml code to output xml code using xslt. Can any one please help on escaping single quotation present in the input xml file in my xslt?
[Input xml Code:]
<resolution>Won 'tFix</resolution>
[Output xml Code:]
<resolution>WON TFIX</resolution>
[XSLT:]
<resolution>
<xsl:choose>... -
Hi Dormilich,
Thankyou for your reply.
Code [not(starts-with(child::tex t(), ' '))] worked fine.
Reg break / exit in XSLT for-each loop, I got to know that xslt does not support break / exit in for-each loop. So, to handle my requirement of getting the first component that does nt start with space, i have used position() = '1' in the for-each loop. It worked fine
Thanks,
SarithaLeave a comment:
-
Counting the elements in xml using XSLT
Hi,
Iam working on converting one of xml file to other form of xml using XSLT.
As part of this, I need to count the no. of "component" nodes in the xml file given below.
If there is only one "component" node,i have to assign the value of this node to "component" node in my output.xml file.
If there are more than one "component" nodes in my input xml file, then i should take...
No activity results to display
Show More
Leave a comment: