If you have an XSD with an includes reference.
Is it possible to generate 2 separate class files.
1 for the XSD, and 1 for the included XSD?
My Scenario
4 XSDs, each of which share 15-20 element definitions in common.
Rather than maintaining, I'd like to end up with the 4 XSDs all referencing a fifth file with the common definitions, an...
If you look at the source of this page http://kingston.talking-newspapers.co.uk/ you will see a large amount of inline javascript near the top.
I don't really want all this extra stuff floating around in my page source, I'd much rather get it off into a script tag, and then I can minify it and all sorts.
If I call it as a php file, thi...
I need to use function "image_path" in my lib class. I tried this (and couple of other variations):
class CustomHelpers::Base
include ActionView::Helpers::AssetTagHelper
def self.image_url(source)
abs_path = image_path(source)
unless abs_path =~ /^http/
abs_path = "#{request.protocol}#{request.host_with_port}#{abs_path...
I am writing some server-side scripts using JScript and WSH. The scripts are getting quite long, and some common functions and variables would fit better in a general library script which I included in my various script instances.
But, I cannot find a way reference one JScript file from another. For a moment, I though reading the file c...
How can one achieve what the following code is trying to do?
#include "dir/*"
...
I'm looking for a tool (preferably, a Visual Studio plugin) that would display all files included by a given file and show all files included by those files and so on.
...
For my website I want to store the general format of the site in a single PHP file in a single location, and each of the different pages content in the local location of the page. I then want to pass the title and content address to the included file via a variable.
However I can't get the included format file to read the variables stor...
For example, if I need Gtk+ include paths.
How to use pkg-config gtk+-2.0 --cflags in Xcode project settings?
...
When I set ini_set('memory_limit', '100M'); in an included script, does this apply to the complete request, in which this script is included?
...
Hi
I want to create a grid of images with text right below the images.
I created in a xml file a image_text item which basically is a linearlayout with and imageview and a textview right below.
I created a tablelayout and I want to add my custom image_text.xml to the table row. But I dont know how to reference my xml file inside. If ...
Hey guys and girls
I need your opinions and knowledge on a subject.
I'm developing on a website that uses a good amount of JavaScript. In a script tag at the end of the body tag I call a PHP file, which gathers all my JS files and combines/compresses them into one (shorter) file, so I can reduce the number of HTTP calls to the server.
...
I've never seen anything like this.
File structure:
somefolder/base.php
includes/stuff.php
includes/constants.php
base.php:
<?php require("../includes/stuff.php"); ?>
stuff.php:
<?php
require("constants.php");
echo "Welcome to stuff.php";
?>
constants.php:
<?php echo "IMPORTANT CONSTANTS DEFINED HERE!"; ?>
Result:...
I have a series of web sites all hosted on the same server with different domains. I want to host some common PHP scrips and then be able to call these from the other domains.
Im am a bit fresh with my php so pls excuse code attempts - I have tried iterations of the following which may try and help you understand what I am aiming for!
...
I would like to generate javadocs for my application and i would also like to include private members.
I have found the following in the Javadoc documentation
-private
Shows all classes and members.
Could you please help me by giving an example of the execution of this?
It should be something like: javadoc -private...
Hi all
I have problem including jsp pages. I have one JSP page where I must have not closed tags because in including page I continue filling them and close them.
Page beeing included
<div class="ui-layout-content">
<form id="kartaForm">
<%-- zalozka Budova --%>
<m:zalozka id="tabs-1">
<m:sloupec prvni="true">
...
Hi,
I'm trying to achieve the following behavior using the Servlet 3.0 API:
send an inital html page
send subsequent responses that update the page
This all works except the only way I could send the initial page without getting the response committed is by manually writing using the HttpResponse Writer...
I was wondering if there...
Once again, GCC is making me feel like an idiot for having trouble with the simplest things. I've included a header:
#include "PDL.h"
Then, I try to compile:
arm-none-linux-gnueabi-gcc -I/cygdrive/c/PalmPDK/include -I../lua-5.1.4/lua-webos/include -O2 -Wall -shared -nostdlib -mcpu=arm1136jf-s -mfpu=vfp -mfloat-abi=softfp -lpdl
But ...
I have a cron job that needs to include this file:
require '../includes/common.php';
however, when it is run via the cron job (and not my local testing), the relative path does not work.
the cron job runs the following file (on the live server):
/home/username123/public_html/cron/mycronjob.php
and here's the error:
Fatal error: re...
We have 3 tables in our db that each have an entity in our edmx. To illustrate my problem, imagine 3 tables:
Table: Make
Fields:
makeID
make
Table: Model
FIelds:
modelID
makeID foreign key
model
Table: Car
carID
modelID foreign key
car
Our Make, Model, and Car entity have all of the navigation properties in the entity model. La...
I am trying to figure out a way to do this:
I want to have a core template file (structure.php):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php include_once(NAKIDROOT."includes/head.php"); ?>
</head>...