How can I force page break using CSS or XSL when printing a XML-file from IE7?
I have tried to include a CSS-file with the following but it has no effect:
@page { size: landscape }
Ques...
I am trying to add the current system date and time into an xml document using xslt.
I am using the http://exslt.org/dates and times and have a <xsl:value-of select="date:date-time"/> whic...
i have a xslt syntax issue in the 5th line when i try to put a tag in.
pl help.
Remove Version and encoding tag from xml using XSLT. Even though I have this code in the XSLT, It does not seem to get rid of the xml-declaration.
<xsl:output method="xml" indent="no" omit-xm...
Hi,
I am developing a page that needs to transform a XML and a XSL into HTML.
The code is working fine, at both Internet Explorer and Firefox.
But if my page location has an anchor on i...
Hi, I'm very new to XLST and just wanted to create a template to do a string replace. I want an efficient way of replacing the password field in the XML below with an empty string (or somethin...
I have the following xslt code:
<xsl:template match="img[not(@id)] | IMG[not(@id)]">
<IMG id="1" >
<xsl:apply-templates select="node() | @*"/>
</IMG>
</xsl:template>...
How could I use regular expression with xslt. The replace and matches function are implemented in xpath 2.0 but I could not use them with .net 2.0.
I need to find out if it is possible to import an external javascript file into an xslt stylesheet. We recently upgraded our search engine to a Google machine and I am trying to replicate our...
I have a SQL 2005 database that I am showing on a Sharepoint 2007 web page using the data view. I have a status column that holds a single character G, Y, R, or C. When the column has a G I ha...
Here is the XML structure I have for which I am developing an XSL.
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="model.xsl"?>
<model type="logical" bu...
I have feed that contains item nodes. These item nodes have CDATA section. These sections have text and images. I would like to extract the first available image tag. Is there a way to do this...
I'm looking for the XSL-FO to display these images one(1) per-page.
My current code is as follows:
<?xml version='1.0' encoding='utf-8'?>
<xsl:stylesheet version="1.0"
xmlns:fo="http:/...
I need a function to replace strings, the translate() function just doesn't cut it.
E.g. 0101100101 should become 0.1.0.1.1.0.0.1.0.1.
Any suggestions on how this could be done?
*...
Hi
I am creating an arts site that will list works of art by various artists.
I will create separate web pages for each artist and output all their paintings in a <UL> list which I'll st...
Hi,
I'm looking for an XSL file which transform source xml file to target format required in xml file
Here EXAMPLE of Source file example which I receive
<?xml-stylesheet type="text/x...
I'm trying to add a summary to a XSLT stylesheet. I'm limited XSLT 1.0 for my report.
The XML I'm given looks like this (simplified):
<items>
<item id="1">
<attrs>
...
I have an xml in this format
<aaa:bbb xmlns:aaa="Myservice">
<ddd xmlns="myservice">
<lname>k</lastname>
<fname>p</firstname>
</ddd>
</aaa:bbb>
and when i try to transform this in ...
Hi, I have an xml of the following form
<ROOT>
<SOMETHING>...</SOMETHING>
<SETTLEMENT_STATEMENT>...</SETTLEMENT_STATEMENT>
</ROOT>
I have a template which matches on node() and copies...
How do I generate random number in xml for example if i have an xml where i want to generate a random number everytime i run it using xpath for example, how do i do it.
For example
<name...
I'm trying to transform two XML files. I have a header file that has basically two elements.
header.xml file below:
<?xml version="1.0" encoding="utf-8"?>
<Mile_Header>
<Picture>\\ho\dfs0...
I am pulling a URL from a database and an XSL is formatting this data. I need one of the fields to be converted to a hyperlink. This XML data is in a Sharepoint webpart so it is not picking ...
Hi,
I need to increment an XSL variable that is initialized like this
<xsl:variable name="header" select="'1'"/>
This variable is passed into a javascript function like this:
<...
i am using the following:
<xsl:value-of select="abc" />
the value of abc can be negative. how do i display absolute value of abc.
thanks.
I have an document int he format below
<root>
<field1>field1</field1>
<field2>field2</field2>
<field3></field3>
<field4>field4</field4>
<field5>field5</field5>
<body1>body1</body1>
<b...