I'm trying to use the following query :
//esd:ControlledList/esd:Item[@Id='1']
but it doesn't work.
I'm a noob in XML so it might be my query is wrong.
I've read I can use something like this:
//[local-name()='ControlledList' and...
hello, thankyou for your help, but I have sussed the code.
<xsl:template match="esd:ItemsHierarchy">
<TREENODES>
<xsl:apply-templates select="esd:Item">
<xsl:sort select="esd:Name"/>
</xsl:apply-templates>
</TREENODES>
</xsl:template>
<xsl:template...
Fraid not, but maybe I didn't provide a good enough example of the XML i'm using. Here is the full file:
http://www.esd.org.uk/standards/lgbcl/1.00/lgbclhierarchy.xml
And this is how I implimented your code:
<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet version="1.0"...
Thankyou that produces the following:
TREENODES
- Item
-- NItem
-- NItem
-- NItem
-- NItem
-- NItem
(it only shows data for 1 Item)
Its close but I need to show data for all Items:
TREENODES
- Item
-- NItem
-- NItem
-- NItem
-- NItem
- Item
-- NItem
-- NItem
-- NItem
- Item
-- NItem
-- NItem...
how do i get the following structure for my Treeview:
TREENODES
- Item
-- NItem
-- NItem
- Item
-- NItem
- Item
-- NItem
-- NItem
etc
sample of MY XML:
<ItemsHierarchy>
- <Item ConceptId="0">
-- <Name>Business</Name>
-- <NarrowerItems>
--- <Item ConceptId = "238">
--- <Name>Abattoir</Name>...
Currently, I have set up an XML file to pull seperate swf files (the postcode areas) into a main swf file (the entire map). I am tryign to intergrate zoom and pan functions along with a minimap- its a huge task , and i'm rubbish at actionscript ! I'm slowly getting there by altering someone...
Helo, I'm creating a map in flash, with a jpg ordinance survey map as the background to show the roads etc. Can I split this huge image into smaller pieces and load them only when the user is viewing that area or near to it? And can i load different images as the user zooms in ?
thanks.
Helloo, I'm having trouble with a photogallery script i've modified to display multiple SWF files together in one file.
-------------------
myPhoto = new XML();
myPhoto.ignoreWhite = true;
myPhoto.onLoad = function(success) {
//portfolioTag = this.firstChild;
numimages =...
OK right so if I go ahead and write some ASP code that activates the view and then performs your javascript code, i assume this would work.
"My code requires you to pass the variable for the number (I assume you are doing this)."
Sorry I'm not sure I understand you, I am currently just using...
Gotta mention the variations on the code I tried:
My Multiview = Main_View
My View I want to display result in = View3
Div in View3 = View3Div
-----
your code:
target = document.getElementById('view'+ i +'Div');
Variations I tried:
target = document.getElementById('Main_View.View3.View3Div')...
thanks for that , I have only just got back onto this project - i'm overloaded with work, I'd love to get that functioning so I can move on!
I changed the flash code on the button, and I created a Div in View 3 and added the code to the beginning of the page. Now when the user clicks on the...
K well this is my code so far:
---------------
Sub Page_Load(ByVal Src As Object, ByVal Args As CommandEventArgs)
Dim correctVar As String = Request("var1")
If correctVar = "B2" Then
Select Case (Args.CommandName)
Case "View1"...
Good stuff pixl8r that got the Flash code working. It looks for the page when i click the button, problem is, as you guessed, it isnt passing the variable to the asp:View object.
I'm using VWD 2005 Express
If you come up with any ideas don't hesitate to tell me! I'll try fidling with the code...
thanks alot for your help, I was wondering if you could help me just a little more though.
Here is the code I have used in Flash, for a button called "b2" - the postcode variable is incidentally 'B2' also ;-).
-------
on (release) {
b2.onRelease = function() {
sendVars = new LoadVars()...
This is one for ASP.net and Flash guys:
I've made a flash map with clickable (buttons) Postcode areas. Wehn the user makes a selction I want the postcode to be passed into an ASP.net page where the all the details relating to that postcode will be pulled from the database.
i want the results to...
This is one for Flash and ASP.net guys:
I've made a flash map with clickable (buttons) Postcode areas. Wehn the user makes a selction I want the postcode to be passed into an ASP.net page where the all the details relating to that postcode will be pulled from the database.
i want the results to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.