Click here to Skip to main content
15,900,816 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Access Drives with Javascript Pin
Jesse Squire16-Jul-06 3:05
Jesse Squire16-Jul-06 3:05 
QuestionRunning ActiveX coutrol with Javascript Pin
Abhishek Joshi16-Jul-06 1:32
Abhishek Joshi16-Jul-06 1:32 
AnswerRe: Running ActiveX coutrol with Javascript Pin
Jesse Squire16-Jul-06 3:10
Jesse Squire16-Jul-06 3:10 
QuestionAbout Dropdown List Control Pin
Abhishek Joshi16-Jul-06 1:12
Abhishek Joshi16-Jul-06 1:12 
AnswerRe: About Dropdown List Control Pin
Jesse Squire16-Jul-06 2:57
Jesse Squire16-Jul-06 2:57 
QuestionAbout Dropdown List Control Pin
Abhishek Joshi16-Jul-06 1:12
Abhishek Joshi16-Jul-06 1:12 
AnswerRe: About Dropdown List Control [modified] Pin
Wesley Samuel16-Jul-06 19:17
Wesley Samuel16-Jul-06 19:17 
QuestionProblem with transforming a part of xml file [modified] Pin
sishya16-Jul-06 0:55
sishya16-Jul-06 0:55 
Hi guys,

i am transforming an file called XMLFile.xml along with the appropriate xslt file
like this:
XPathDocument surveyDoc = new XPathDocument(Server.MapPath("XMLFile.xml"));

// Load the xslt to do the transformations
XslTransform transform = new XslTransform();
transform.Load(Server.MapPath("dynamicControls.xslt"));

// Get the transformed result
StringWriter sw = new StringWriter();
transform.Transform(surveyDoc, null, sw);


But the xmlfile.xml contents are like:
<formname name="BusinessUnit">
<contol type="text" name="BuisnessUnit" value="FirstName" required="yes">
<contol type="text" name="Code" validation="true" value="LastName" valtype="numbers">
<contol type="text" name="LegalEntity" value="EmailId">
<contol type="text" name="Place" value="DOB">
<contol type="text" name="DateOfBirth" value="BusinessUnit">

followed by another form details.
<formname name="foreign unit">
details


so i want to specify the required formname in new XPathDocument=(Server.MapPath("XMLFile.xml")); //i.e BusinessUnit for ex: not the entire
xml file how can i pass only the required xml content(i.e only a part of the xml file containing required form details) want for transformation.I.e i dont want to transform foreign unit part also within the xml file.Please throw some light on this.

Thks in advance,




-- modified at 6:56 Sunday 16th July, 2006
QuestionFinding Visitor's IP Problem Pin
yersay16-Jul-06 0:22
yersay16-Jul-06 0:22 
AnswerRe: Finding Visitor's IP Problem Pin
Jesse Squire16-Jul-06 2:34
Jesse Squire16-Jul-06 2:34 
GeneralRe: Finding Visitor's IP Problem Pin
yersay16-Jul-06 10:46
yersay16-Jul-06 10:46 
GeneralRe: Finding Visitor's IP Problem Pin
Jesse Squire21-Jul-06 3:01
Jesse Squire21-Jul-06 3:01 
GeneralRe: Finding Visitor's IP Problem Pin
yersay21-Jul-06 19:02
yersay21-Jul-06 19:02 
AnswerRe: Finding Visitor's IP Problem Pin
dansoft16-Jul-06 15:32
dansoft16-Jul-06 15:32 
GeneralRe: Finding Visitor's IP Problem Pin
yersay16-Jul-06 18:37
yersay16-Jul-06 18:37 
QuestionHow to change the ToolTip message in a calendar Pin
Mohamed El Gohary15-Jul-06 23:53
Mohamed El Gohary15-Jul-06 23:53 
AnswerRe: How to change the ToolTip message in a calendar Pin
minhpc_bk16-Jul-06 23:58
minhpc_bk16-Jul-06 23:58 
QuestionVB.net 1.1Problem [modified] Pin
amaneet15-Jul-06 21:53
amaneet15-Jul-06 21:53 
QuestionRunning ASP and ASP.NET on IIS5.1 [modified] Pin
Anthony Potts15-Jul-06 8:01
Anthony Potts15-Jul-06 8:01 
AnswerRe: Running ASP and ASP.NET on IIS5.1 Pin
Jakob Farian Krarup15-Jul-06 21:24
Jakob Farian Krarup15-Jul-06 21:24 
GeneralRe: Running ASP and ASP.NET on IIS5.1 Pin
Anthony Potts16-Jul-06 18:55
Anthony Potts16-Jul-06 18:55 
Questiondiv Pin
adamoz15-Jul-06 5:41
adamoz15-Jul-06 5:41 
AnswerRe: div Pin
Mircea Grelus15-Jul-06 13:06
Mircea Grelus15-Jul-06 13:06 
Questiondisplaying html file on webpage Pin
pawanmishraji15-Jul-06 2:01
pawanmishraji15-Jul-06 2:01 
AnswerRe: displaying html file on webpage Pin
enjoycrack15-Jul-06 20:02
enjoycrack15-Jul-06 20:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.